Skip to main content

stdout

Type

keyword

Summary

Used with the write to file command to designate the standard output.

Syntax

stdout

Description

Use the stdout keyword to write data to the standard output, usually the screen or console window.

On Unix systems, output from a program is normally written to the screen, but can be redirected to go to another device, process, or file. This redirection is done on the command line when the program is started up.

On a server in CGI mode, writing to stdout for the first time triggers any headers to be generated.

When you use the write to file command with the stdout keyword, LiveCode writes data to the standard output.

note

On OS X systems, the standard output is the Console window, not the Terminal window.

Support for using stdout on Server was added in LiveCode 4.6.3.

Examples

write field 3 to stdout

command: write to process, write to file

glossary: standard output, keyword, command, OS X

keyword: stdin, stderr

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?